package com.hengxinyongli.iam.utils;

import com.hengxinyongli.iam.exception.AssertCheckException;

/**
 * @author magic
 * @date 2018/10/15/015 16:49
 * @version 1.0
 * Description AssertUtils
 */
public class AssertUtils {
    public static void isTrue(boolean condition, String message) {
        if(!condition){
            throw new AssertCheckException(message);
        }
    }
}
